package org.springframe.postProcessor;

import com.sun.istack.internal.Nullable;

/**
* @package  org.springframe.postProcessor
* @classname BeanPostProcessor
* @description 后置处理器
* @version 1.0
* @author luoweiwei
* @date  2021-04-23 16:15:36
*/
public interface BeanPostProcessor {

    @Nullable
    default Object postProcessBeforeInitialization(Object bean, String beanName) throws Exception {
        return bean;
    }

    @Nullable
    default Object postProcessAfterInitialization(Object bean, String beanName) throws Exception {
        return bean;
    }


}
